<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>PowerVR SDK</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<table width="100%">
  <tr>
    <td width="33%">
      <p align="left">&nbsp;<a href="http://www.imgtec.com"><img border="0" src="IMGLogo.jpg" width="200" height="30"></a></p>
    </td>
    <td width="33%">
      <p align="center"><font color="#808080" face="Arial" size="2">PowerVR Software Development Kit</a></font></p>
    </td>
    <td width="34%">
      <p align="right"><a href="http://www.powervr.com"><img border="0" src="PVRlogo.jpg" width="200" height="27"></a></p>
    </td>
  </tr>
</table>
<hr>
</head><body>
<!-- Generated by Doxygen 1.3.6 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>SimpleCamera.h</h1><a href="SimpleCamera_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/******************************************************************************</span>
00002 <span class="comment"></span>
00003 <span class="comment"> @File         SimpleCamera.h</span>
00004 <span class="comment"></span>
00005 <span class="comment"> @Title        Simple Camera</span>
00006 <span class="comment"></span>
00007 <span class="comment"> @Version      </span>
00008 <span class="comment"></span>
00009 <span class="comment"> @Copyright    Copyright (C)  Imagination Technologies Limited.</span>
00010 <span class="comment"></span>
00011 <span class="comment"> @Platform     Independent</span>
00012 <span class="comment"></span>
00013 <span class="comment"> @Description  A simple yaw, pitch camera with fixed up vector</span>
00014 <span class="comment"></span>
00015 <span class="comment">******************************************************************************/</span>
00016 
00017 <span class="preprocessor">#ifndef SIMPLECAMERA_H</span>
00018 <span class="preprocessor"></span><span class="preprocessor">#define SIMPLECAMERA_H</span>
00019 <span class="preprocessor"></span>
00020 <span class="comment">/******************************************************************************</span>
00021 <span class="comment">Includes</span>
00022 <span class="comment">******************************************************************************/</span>
00023 <span class="preprocessor">#include "PVRTools.h"</span>
00024 
00025 <span class="keyword">namespace </span>pvrengine
00026 {
00027 
00028     <span class="keyword">class </span>TimeController;
00029 
00030     <span class="comment">/*!****************************************************************************</span>
00031 <span class="comment">    Class</span>
00032 <span class="comment">    ******************************************************************************/</span>
00033     <span class="comment">/*!***************************************************************************</span>
00034 <span class="comment">    * @Class SimpleCamera</span>
00035 <span class="comment">    * @Brief    A simple yaw, pitch camera with fixed up vector.</span>
00036 <span class="comment">    * @Description  A simple yaw, pitch camera with fixed up vector.</span>
00037 <span class="comment">    *****************************************************************************/</span>
00038     <span class="keyword">class </span>SimpleCamera
00039     {
00040     <span class="keyword">public</span>:
00041 
00042         <span class="comment">/*!***************************************************************************</span>
<a name="l00043"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html">00043</a> <span class="comment">        @Function           SimpleCamera</span>
00044 <span class="comment">        @Input              pTimeController - pointer for animation</span>
00045 <span class="comment">        @Description        blank constructor.</span>
00046 <span class="comment">        *****************************************************************************/</span>
00047         <a class="code" href="classpvrengine_1_1SimpleCamera.html#a0">SimpleCamera</a>(<a class="code" href="classpvrengine_1_1TimeController.html">TimeController</a>* pTimeController);
00048 
00049         <span class="comment">/*!***************************************************************************</span>
00050 <span class="comment">        @Function           updatePosition</span>
00051 <span class="comment">        @Description        updates the position of the camera according to its</span>
00052 <span class="comment">        current velocity.</span>
00053 <span class="comment">        *****************************************************************************/</span>
00054         <span class="keywordtype">void</span>            <a class="code" href="classpvrengine_1_1SimpleCamera.html#a1">updatePosition</a>();
00055 
00056         <span class="comment">/*!***************************************************************************</span>
00057 <span class="comment">        @Function           setPosition</span>
00058 <span class="comment">        @Input              x - coordinate</span>
00059 <span class="comment">        @Input              y - coordinate</span>
00060 <span class="comment">        @Input              z - coordinate</span>
00061 <span class="comment">        @Description        sets the position of the camera directly to the</span>
00062 <span class="comment">        coordinates passed</span>
00063 <span class="comment">        *****************************************************************************/</span>
00064         <span class="keywordtype">void</span>        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a2">setPosition</a>(<span class="keyword">const</span> VERTTYPE x, <span class="keyword">const</span> VERTTYPE y, <span class="keyword">const</span> VERTTYPE z)
00065         {
00066             m_vPosition.x = x;
00067             m_vPosition.y = y;
00068             m_vPosition.z = z;
00069         }
00070 
00071         <span class="comment">/*!***************************************************************************</span>
<a name="l00072"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a2">00072</a> <span class="comment">        @Function           setPosition</span>
00073 <span class="comment">        @Input              vec position coordinates</span>
00074 <span class="comment">        @Description        sets the position of the camera directly to the</span>
00075 <span class="comment">        coordinates passed</span>
00076 <span class="comment">        *****************************************************************************/</span>
00077         <span class="keywordtype">void</span>            <a class="code" href="classpvrengine_1_1SimpleCamera.html#a2">setPosition</a>(<span class="keyword">const</span> PVRTVec3&amp; vec)
00078         {m_vPosition = vec;}
00079 
00080         <span class="comment">/*!***************************************************************************</span>
00081 <span class="comment">        @Function           setTarget</span>
00082 <span class="comment">        @Input              vec position coordinates</span>
00083 <span class="comment">        @Description        sets the position of the point that the camera is looking</span>
00084 <span class="comment">        at.</span>
00085 <span class="comment">        *****************************************************************************/</span>
<a name="l00086"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a3">00086</a>         <span class="keywordtype">void</span>            <a class="code" href="classpvrengine_1_1SimpleCamera.html#a4">setTarget</a>(<span class="keyword">const</span> PVRTVec3&amp; vec);
00087 
00088         <span class="comment">/*!***************************************************************************</span>
00089 <span class="comment">        @Function           setTo</span>
00090 <span class="comment">        @Input              vec position coordinates</span>
00091 <span class="comment">        @Description        specifies a vector that describes the angle that the</span>
00092 <span class="comment">        camera should be viewing</span>
00093 <span class="comment">        *****************************************************************************/</span>
00094         <span class="keywordtype">void</span>            <a class="code" href="classpvrengine_1_1SimpleCamera.html#a5">setTo</a>(<span class="keyword">const</span> PVRTVec3&amp; vec);
00095 
00096         <span class="comment">/*!***************************************************************************</span>
00097 <span class="comment">        @Function           getPosition</span>
00098 <span class="comment">        @Return             position coordinates</span>
00099 <span class="comment">        @Description        gets the position of the camera</span>
00100 <span class="comment">        *****************************************************************************/</span>
00101         PVRTVec3        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a6">getPosition</a>()<span class="keyword"> const</span>
00102 <span class="keyword">        </span>{
00103             <span class="keywordflow">return</span> m_vPosition;
00104         }
00105 
00106         <span class="comment">/*!***************************************************************************</span>
00107 <span class="comment">        @Function           getToAndUp</span>
00108 <span class="comment">        @Output             vTo direction camera is pointing</span>
00109 <span class="comment">        @Output             vUp direction perpendicular to way camera is pointing</span>
00110 <span class="comment">        @Description        Gets two vectors indicating the angle of the camera that</span>
00111 <span class="comment">        can be used in view calculations</span>
00112 <span class="comment">        *****************************************************************************/</span>
<a name="l00113"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a6">00113</a>         <span class="keywordtype">void</span>            <a class="code" href="classpvrengine_1_1SimpleCamera.html#a7">getToAndUp</a>(PVRTVec3&amp; vTo, PVRTVec3&amp; vUp) <span class="keyword">const</span>;
00114 
00115         <span class="comment">/*!***************************************************************************</span>
00116 <span class="comment">        @Function           getTargetAndUp</span>
00117 <span class="comment">        @Output             vTo point at wich camera currently looks</span>
00118 <span class="comment">        @Output             vUp direction perpendicular to way camera is pointing</span>
00119 <span class="comment">        @Description        Gets two vectors indicating the angle of the camera that</span>
00120 <span class="comment">        can be used in view calculations</span>
00121 <span class="comment">        *****************************************************************************/</span>
00122         <span class="keywordtype">void</span>            <a class="code" href="classpvrengine_1_1SimpleCamera.html#a8">getTargetAndUp</a>(PVRTVec3&amp; vTo, PVRTVec3&amp; vUp) <span class="keyword">const</span>;
00123 
00124         <span class="comment">/*!***************************************************************************</span>
00125 <span class="comment">        @Function           getTo</span>
00126 <span class="comment">        @Return             direction camera is pointing</span>
00127 <span class="comment">        @Description        Gets a vector indicating the angle of the camera that</span>
00128 <span class="comment">        can be used in view calculations</span>
00129 <span class="comment">        *****************************************************************************/</span>
00130         PVRTVec3        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a9">getTo</a>() <span class="keyword">const</span>;
00131 
00132         <span class="comment">/*!***************************************************************************</span>
00133 <span class="comment">        @Function           getUp</span>
00134 <span class="comment">        @Return             direction perpendicular to way camera is pointing</span>
00135 <span class="comment">        @Description        Gets a vector indicating the angle of the camera that</span>
00136 <span class="comment">        can be used in view calculations</span>
00137 <span class="comment">        *****************************************************************************/</span>
00138         PVRTVec3        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a10">getUp</a>() <span class="keyword">const</span>;
00139 
00140         <span class="comment">/*!***************************************************************************</span>
00141 <span class="comment">        @Function           getTarget</span>
00142 <span class="comment">        @Return             point at wich camera currently looks</span>
00143 <span class="comment">        @Description        Gets two vectors indicating the angle of the camera that</span>
00144 <span class="comment">        can be used in view calculations</span>
00145 <span class="comment">        *****************************************************************************/</span>
00146         PVRTVec3        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a11">getTarget</a>() <span class="keyword">const</span>;
00147 
00148         <span class="comment">/*!***************************************************************************</span>
00149 <span class="comment">        @Function           getHeading</span>
00150 <span class="comment">        @Return             heading value</span>
00151 <span class="comment">        @Description        Retrieves heading value for this camera</span>
00152 <span class="comment">        *****************************************************************************/</span>
00153         VERTTYPE    <a class="code" href="classpvrengine_1_1SimpleCamera.html#a12">getHeading</a>()<span class="keyword"> const</span>
00154 <span class="keyword">        </span>{<span class="keywordflow">return</span> m_fHeading;}
00155 
00156         <span class="comment">/*!***************************************************************************</span>
00157 <span class="comment">        @Function           getElevation</span>
00158 <span class="comment">        @Return             elevation value</span>
00159 <span class="comment">        @Description        Retrieves elevation value for this camera</span>
00160 <span class="comment">        *****************************************************************************/</span>
00161         VERTTYPE    <a class="code" href="classpvrengine_1_1SimpleCamera.html#a13">getElevation</a>()<span class="keyword"> const</span>
00162 <span class="keyword">        </span>{<span class="keywordflow">return</span> m_fElevation;}
00163 
00164         <span class="comment">/*!***************************************************************************</span>
00165 <span class="comment">        @Function           getAspect</span>
00166 <span class="comment">        @Return             Aspect ratio value</span>
00167 <span class="comment">        @Description        Retrieves the aspect ratio for this camera</span>
00168 <span class="comment">        *****************************************************************************/</span>
00169         VERTTYPE    <a class="code" href="classpvrengine_1_1SimpleCamera.html#a14">getAspect</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_fAspect;}
00170 
<a name="l00171"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a12">00171</a>         <span class="comment">/*!***************************************************************************</span>
00172 <span class="comment">        @Function           setAspect</span>
00173 <span class="comment">        @Input              fAspect new aspect ratio value</span>
00174 <span class="comment">        @Description        sets the aspect ratio value for this camera</span>
00175 <span class="comment">        *****************************************************************************/</span>
00176         <span class="keywordtype">void</span>        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a15">setAspect</a>(<span class="keyword">const</span> VERTTYPE fAspect){ m_fAspect = fAspect;}
00177 
00178         <span class="comment">/*!***************************************************************************</span>
00179 <span class="comment">        @Function           setAspect</span>
<a name="l00180"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a13">00180</a> <span class="comment">        @Input              fHeight height of view</span>
00181 <span class="comment">        @Input              fWidth width of view</span>
00182 <span class="comment">        @Description        sets the aspect ratio value for this camera</span>
00183 <span class="comment">        *****************************************************************************/</span>
00184         <span class="keywordtype">void</span>        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a15">setAspect</a>(<span class="keyword">const</span> VERTTYPE fHeight, <span class="keyword">const</span> VERTTYPE fWidth){ m_fAspect = VERTTYPEDIV(fWidth,fHeight);}
00185 
00186         <span class="comment">/*!***************************************************************************</span>
00187 <span class="comment">        @Function           getFOV</span>
00188 <span class="comment">        @Return             Field of view value</span>
<a name="l00189"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a14">00189</a> <span class="comment">        @Description        Retrieves the field of view value for this camera</span>
00190 <span class="comment">        *****************************************************************************/</span>
00191         VERTTYPE    <a class="code" href="classpvrengine_1_1SimpleCamera.html#a17">getFOV</a>()<span class="keyword"> const</span>
00192 <span class="keyword">        </span>{   <span class="keywordflow">return</span> m_fFOV;  }
00193 
00194         <span class="comment">/*!***************************************************************************</span>
00195 <span class="comment">        @Function           setFOV</span>
00196 <span class="comment">        @Input              fFOV new Field of view value</span>
<a name="l00197"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a15">00197</a> <span class="comment">        @Description        sets the field of view value for this camera</span>
00198 <span class="comment">        *****************************************************************************/</span>
00199         <span class="keywordtype">void</span>        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a18">setFOV</a>(<span class="keyword">const</span> VERTTYPE fFOV)
00200         {   m_fFOV = fFOV;  }
00201 
00202         <span class="comment">/*!***************************************************************************</span>
00203 <span class="comment">        @Function           setNear</span>
00204 <span class="comment">        @Input              fNear near clipping value</span>
00205 <span class="comment">        @Description        sets the near clipping depth value for this camera</span>
<a name="l00206"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a16">00206</a> <span class="comment">        *****************************************************************************/</span>
00207         <span class="keywordtype">void</span>        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a19">setNear</a>(<span class="keyword">const</span> VERTTYPE fNear)
00208         {   m_fNear = fNear;    }
00209         <span class="comment">/*!***************************************************************************</span>
00210 <span class="comment">        @Function           getNear</span>
00211 <span class="comment">        @Return             fNear near clipping value</span>
00212 <span class="comment">        @Description        gets the near clipping depth value for this camera</span>
00213 <span class="comment">        *****************************************************************************/</span>
<a name="l00214"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a17">00214</a>         VERTTYPE    <a class="code" href="classpvrengine_1_1SimpleCamera.html#a20">getNear</a>()<span class="keyword"> const</span>
00215 <span class="keyword">        </span>{   <span class="keywordflow">return</span> m_fNear; }
00216 
00217         <span class="comment">/*!***************************************************************************</span>
00218 <span class="comment">        @Function           setFar</span>
00219 <span class="comment">        @Input              fFar far clipping value</span>
00220 <span class="comment">        @Description        sets the far clipping depth value for this camera</span>
00221 <span class="comment">        *****************************************************************************/</span>
00222         <span class="keywordtype">void</span>        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a21">setFar</a>(<span class="keyword">const</span> VERTTYPE fFar)
<a name="l00223"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a18">00223</a>         {   m_fFar = fFar;  }
00224 
00225         <span class="comment">/*!***************************************************************************</span>
00226 <span class="comment">        @Function           getFar</span>
00227 <span class="comment">        @Return             far clipping value</span>
00228 <span class="comment">        @Description        gets the far clipping depth value for this camera</span>
00229 <span class="comment">        *****************************************************************************/</span>
00230         VERTTYPE    <a class="code" href="classpvrengine_1_1SimpleCamera.html#a22">getFar</a>()<span class="keyword"> const</span>
00231 <span class="keyword">        </span>{   <span class="keywordflow">return</span> m_fFar;  }
<a name="l00232"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a19">00232</a> 
00233         <span class="comment">/*!***************************************************************************</span>
00234 <span class="comment">        @Function           setMoveSpeed</span>
00235 <span class="comment">        @Input              fMoveSpeed movement speed modifier</span>
00236 <span class="comment">        @Description        sets the movement speed modifier value for this camera</span>
00237 <span class="comment">        *****************************************************************************/</span>
00238         <span class="keywordtype">void</span>        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a23">setMoveSpeed</a>(<span class="keyword">const</span> VERTTYPE fMoveSpeed)
00239         {   m_fMoveSpeed = fMoveSpeed;  }
<a name="l00240"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a20">00240</a> 
00241         <span class="comment">/*!***************************************************************************</span>
00242 <span class="comment">        @Function           getMoveSpeed</span>
00243 <span class="comment">        @Return             movement speed modifier</span>
00244 <span class="comment">        @Description        gets the movement speed modifier value for this camera</span>
00245 <span class="comment">        *****************************************************************************/</span>
00246         VERTTYPE    <a class="code" href="classpvrengine_1_1SimpleCamera.html#a24">getMoveSpeed</a>()<span class="keyword"> const</span>
00247 <span class="keyword">        </span>{   <span class="keywordflow">return</span> m_fMoveSpeed;    }
00248 
<a name="l00249"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a21">00249</a>         <span class="comment">/*!***************************************************************************</span>
00250 <span class="comment">        @Function           setRotSpeed</span>
00251 <span class="comment">        @Input              fRotSpeed rotation speed modifier</span>
00252 <span class="comment">        @Description        sets the rotation speed modifier value for this camera</span>
00253 <span class="comment">        *****************************************************************************/</span>
00254         <span class="keywordtype">void</span>        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a25">setRotSpeed</a>(<span class="keyword">const</span> VERTTYPE fRotSpeed)
00255         {   m_fRotSpeed = fRotSpeed;    }
00256 
00257         <span class="comment">/*!***************************************************************************</span>
<a name="l00258"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a22">00258</a> <span class="comment">        @Function           getRotSpeed</span>
00259 <span class="comment">        @Return             rotation speed modifier</span>
00260 <span class="comment">        @Description        gets the rotation speed modifier value for this camera</span>
00261 <span class="comment">        *****************************************************************************/</span>
00262         VERTTYPE    <a class="code" href="classpvrengine_1_1SimpleCamera.html#a26">getRotSpeed</a>()<span class="keyword"> const</span>
00263 <span class="keyword">        </span>{   <span class="keywordflow">return</span> m_fRotSpeed; }
00264 
00265         <span class="comment">/*!***************************************************************************</span>
00266 <span class="comment">        @Function           setInverted</span>
<a name="l00267"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a23">00267</a> <span class="comment">        @Input              bInverted</span>
00268 <span class="comment">        @Description        sets whether up and down rotations should be reversed for</span>
00269 <span class="comment">        this camera</span>
00270 <span class="comment">        *****************************************************************************/</span>
00271         <span class="keywordtype">void</span>            <a class="code" href="classpvrengine_1_1SimpleCamera.html#a27">setInverted</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> bInverted)
00272         {   m_bInverted = bInverted; }
00273 
00274         <span class="comment">/*!***************************************************************************</span>
00275 <span class="comment">        @Function           getInverted</span>
<a name="l00276"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a24">00276</a> <span class="comment">        @Return             bInverted</span>
00277 <span class="comment">        @Description        gets whether up and down rotations are reversed for</span>
00278 <span class="comment">        this camera</span>
00279 <span class="comment">        *****************************************************************************/</span>
00280         <span class="keywordtype">bool</span>            <a class="code" href="classpvrengine_1_1SimpleCamera.html#a28">getInverted</a>()<span class="keyword"> const</span>
00281 <span class="keyword">        </span>{ <span class="keywordflow">return</span> m_bInverted; }
00282 
00283         <span class="comment">/*!***************************************************************************</span>
00284 <span class="comment">        @Function           YawLeft</span>
<a name="l00285"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a25">00285</a> <span class="comment">        @Description        Instructs camera to look left</span>
00286 <span class="comment">        *****************************************************************************/</span>
00287         <span class="keywordtype">void</span>        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a29">YawLeft</a>();
00288 
00289         <span class="comment">/*!***************************************************************************</span>
00290 <span class="comment">        @Function           YawRight</span>
00291 <span class="comment">        @Description        Instructs camera to look right</span>
00292 <span class="comment">        *****************************************************************************/</span>
00293         <span class="keywordtype">void</span>        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a30">YawRight</a>();
<a name="l00294"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a26">00294</a> 
00295         <span class="comment">/*!***************************************************************************</span>
00296 <span class="comment">        @Function           PitchUp</span>
00297 <span class="comment">        @Description        Instructs camera to look up</span>
00298 <span class="comment">        *****************************************************************************/</span>
00299         <span class="keywordtype">void</span>        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a31">PitchUp</a>();
00300 
00301         <span class="comment">/*!***************************************************************************</span>
00302 <span class="comment">        @Function           PitchDown</span>
00303 <span class="comment">        @Description        Instructs camera to look down</span>
<a name="l00304"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a27">00304</a> <span class="comment">        *****************************************************************************/</span>
00305         <span class="keywordtype">void</span>        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a32">PitchDown</a>();
00306 
00307         <span class="comment">/*!***************************************************************************</span>
00308 <span class="comment">        @Function           MoveForward</span>
00309 <span class="comment">        @Description        Instructs camera to look up</span>
00310 <span class="comment">        *****************************************************************************/</span>
00311         <span class="keywordtype">void</span>        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a33">MoveForward</a>();
00312 
00313         <span class="comment">/*!***************************************************************************</span>
<a name="l00314"></a><a class="code" href="classpvrengine_1_1SimpleCamera.html#a28">00314</a> <span class="comment">        @Function           MoveBack</span>
00315 <span class="comment">        @Description        Instructs camera to look down</span>
00316 <span class="comment">        *****************************************************************************/</span>
00317         <span class="keywordtype">void</span>        <a class="code" href="classpvrengine_1_1SimpleCamera.html#a34">MoveBack</a>();
00318 
00319     <span class="keyword">private</span>:
00320         PVRTVec3    m_vPosition, m_vVelocity;   
00321         VERTTYPE    m_fHeading, m_fElevation;   
00322         VERTTYPE    m_fMoveSpeed, m_fRotSpeed;  
00323         VERTTYPE    m_fFOV, m_fAspect;          
00324         VERTTYPE    m_fNear,m_fFar;             
00325         <span class="keywordtype">bool</span>        m_bInverted;                
00326         <a class="code" href="classpvrengine_1_1TimeController.html">TimeController</a>  *m_pTimeController;     
00328     };
00329 
00330 }
00331 
00332 <span class="preprocessor">#endif // SIMPLECAMERA_H</span>
00333 <span class="preprocessor"></span>
00334 <span class="comment">/******************************************************************************</span>
00335 <span class="comment">End of file (SimpleCamera.h)</span>
00336 <span class="comment">******************************************************************************/</span>
00337 
</pre></div><br>
<br>
<P align=left><FONT size=2><STRONG><A 
   href="http://www.imgtec.com/powervr/insider/legal/index.asp">Copyright</A> � 
   1999-2008, Imagination Technologies Ltd.</STRONG></FONT></P>
<hr>
<address style="align: left;"><small><FONT color=f0f>
Generated by <a href="http://www.doxygen.org/index.html">DOXYGEN</a> 1.3.6</small></address>
</body>
</html>
